div {
    max-width: 30em;
    min-height: 5em;
    color: #fff;
    padding: 2em;
    margin: 2em;
}

.div1 {
    background: 
    linear-gradient(90deg, #fb3 11px, transparent 0),
    linear-gradient(90deg, #ab4 23px, transparent 0),
    linear-gradient(90deg, #655 35px, transparent 0),
    linear-gradient(90deg, #98a 42px, transparent 0);
    background-size: 41px 100%,61px 100%,83px 100%,94px 100%;
}